Skip to content

Pull requests settings: sensitive paths, deadlines, and the opt-in digest and nudges - #548

Merged
coderhelm[bot] merged 2 commits into
mainfrom
prs-overview-settings
Dec 6, 2026
Merged

coderhelm[bot] merged 2 commits into
mainfrom
prs-overview-settings

Conversation

@nambok

@nambok nambok commented Dec 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

The dashboard side of CoderHelm/coderhelm-platform#991, which records every overview signal at its source. A new Pull requests settings page sits under the overview, the Security panel counts security alerts that have no pull request, and the docs say where the digest and nudges are turned on.

Changes

  • /prs/overview/settings (linked from the overview's header, GET/PUT /api/prs/settings):

    • sensitive paths per repo, one owner/repo: patterns line each (for example acme/checkout: cart/rounding/**, *.pem), with the defaults named;
    • the security deadlines;
    • the weekly digest (Slack, Teams, or email to team members);
    • per-pull-request nudges.

    The digest and nudges start off. Anyone can read the page; changing it needs agent settings, and without that the controls are disabled. Saves go through the shared settings form and save bar, and a server refusal shows in the bar.

  • Security and policy: shows open security alerts with no pull request, by severity, with the platform's sentence. When CoderHelm lacks the permission, it says "Code scanning alerts need the security events permission."

  • Docs (pull-requests-overview.mdx): the defaults for sensitive paths, with an invented example, plus where the digest and nudges are turned on and how they behave. Nothing says "isn't sent yet" any more.

Verification

  • npm run lint (UI lint, no hosted links, fixture words) and npm run typecheck are clean.
  • The full Playwright suite passes. New tests: settings start off and save sensitive paths per repo; an email digest needs an address; read-only without agent settings; and the alerts line with the permission sentence.
  • text_guard.py and secret_literals.py pass.

…gest and nudges

A settings page under the overview (/prs/overview/settings) for each
repo's sensitive paths, the security deadlines, and the weekly digest and
per-pull-request nudges, both off until a team turns them on. Anyone can
read it; changing it needs agent settings. The Security panel adds open
security alerts with no pull request, and says code scanning needs the
security events permission. The docs say where the settings are and how
the digest and nudges behave.
@nambok nambok added the ch-review CoderHelm reviews this pull request label Dec 6, 2026
coderhelm[bot]

This comment was marked as outdated.

@coderhelm

coderhelm Bot commented Dec 6, 2026 •

Copy link
Copy Markdown
Contributor

💚 Post-merge health check passed: the deploy of d9f4ba7 completed and stayed green for the full 15-minute watch window (no new failures vs. the pre-merge baseline).
Auto-merge

  • ✅ CoderHelm approved
  • ✅ CI green
    The rest is in the pull request description.

The no-sideways-scroll and mid-word checks draw every route from
e2e/wide-data; the settings page now answers there with its longest
repos, patterns and addresses, and the alerts sentence is stretched too.

@coderhelm coderhelm Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Approved fd918ea (merged)

@coderhelm
coderhelm Bot merged commit d9f4ba7 into main Dec 6, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ch-review CoderHelm reviews this pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant